
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>jenkins · Aivin开发笔记</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="Aivin">
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search-plus/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-anchor-navigation-ex/style/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-tbfed-pagefooter/footer.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-donate/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-local-video/video-js.min.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-theme-comscore/test.css">
                
            
        

    

    
        
        <link rel="stylesheet" href="../styles/website.css">
        
    

        
    
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    
    <link rel="prev" href="swagger.html" />
    

    
        <link rel="shortcut icon" href='../assets/images/favicon.ico' type="image/x-icon">
    
    
        <link rel="bookmark" href='../assets/images/favicon.ico' type="image/x-icon">
    
    
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    说明
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="开发规范.html">
            
                <a href="开发规范.html">
            
                    
                    开发规范
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="tomcat.html">
            
                <a href="tomcat.html">
            
                    
                    框架类
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="tomcat.html">
            
                <a href="tomcat.html">
            
                    
                    tomcat
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="mysql.html">
            
                <a href="mysql.html">
            
                    
                    mysql
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3" data-path="zookeeper.html">
            
                <a href="zookeeper.html">
            
                    
                    zookeeper
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4" data-path="hadoop.html">
            
                <a href="hadoop.html">
            
                    
                    hadoop
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.5" data-path="springBoot.html">
            
                <a href="springBoot.html">
            
                    
                    springBoot
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.6" data-path="springcloud.html">
            
                <a href="springcloud.html">
            
                    
                    springcloud
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.7" data-path="mybatis.html">
            
                <a href="mybatis.html">
            
                    
                    mybatis
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.8" data-path="nginx.html">
            
                <a href="nginx.html">
            
                    
                    nginx
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.9" data-path="redis.html">
            
                <a href="redis.html">
            
                    
                    redis
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.10" data-path="swagger.html">
            
                <a href="swagger.html">
            
                    
                    swagger
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.3.11" data-path="jenkins.html">
            
                <a href="jenkins.html">
            
                    
                    jenkins
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >jenkins</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div class="search-plus" id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <div id="anchor-navigation-ex-navbar"><i class="fa fa-navicon"></i><ul><li><span class="title-icon "></span><a href="#jenkins"><b>1. </b>jenkins</a></li></ul></div><a href="#jenkins" id="anchorNavigationExGoTop"><i class="fa fa-arrow-up"></i></a><h1 id="jenkins"><a name="jenkins" class="anchor-navigation-ex-anchor" href="#jenkins"><i class="fa fa-link" aria-hidden="true"></i></a>1. jenkins</h1>
<p><a href="https://jenkins.io/index.html" target="_blank">jenkins&#x5B98;&#x7F51;</a></p>
<pre><code class="lang-xml">//&#x542F;&#x52A8;&#x65F6;&#x6307;&#x5B9A;&#x7AEF;&#x53E3;
java -jar jenkins.war --httpPort=8082   
//&#x505C;&#x6B62;jenkins
net stop jenkins
</code></pre>
<pre><code class="lang-xml">&#x6301;&#x7EED;&#x96C6;&#x6210;&#xFF08;Continuous integration&#xFF0C;CI&#xFF09;
&#x6307;&#x7684;&#x662F;&#x9891;&#x7E41;&#x5730;&#xFF08;&#x4E00;&#x5929;&#x591A;&#x6B21;&#xFF09;&#x5C06;&#x4EE3;&#x7801;&#x96C6;&#x6210;&#x5230;&#x4E3B;&#x5E72;&#x3002;
&#x5B83;&#x7684;&#x597D;&#x5904;&#x4E3B;&#x8981;&#x6709;&#x4E24;
1&#x3001;&#x5FEB;&#x901F;&#x53D1;&#x73B0;&#x9519;&#x8BEF;&#x3002;
&#x6BCF;&#x5B8C;&#x6210;&#x4E00;&#x70B9;&#x66F4;&#x65B0;&#xFF0C;&#x5C31;&#x96C6;&#x6210;&#x5230;&#x4E3B;&#x5E72;&#xFF0C;&#x53EF;&#x4EE5;&#x5FEB;&#x901F;&#x53D1;&#x73B0;&#x9519;&#x8BEF;&#xFF0C;&#x5B9A;&#x4F4D;&#x9519;&#x8BEF;&#x4E5F;&#x6BD4;&#x8F83;&#x5BB9;&#x6613;&#x3002;
&quot;&#x6301;&#x7EED;&#x96C6;&#x6210;&#x5E76;&#x4E0D;&#x80FD;&#x6D88;&#x9664;Bug&#xFF0C;&#x800C;&#x662F;&#x8BA9;&#x5B83;&#x4EEC;&#x975E;&#x5E38;&#x5BB9;&#x6613;&#x53D1;&#x73B0;&#x548C;&#x6539;&#x6B63;&#x3002;&quot;
2&#x3001;&#x9632;&#x6B62;&#x5206;&#x652F;&#x5927;&#x5E45;&#x504F;&#x79BB;&#x4E3B;&#x5E72;&#x3002;
&#x5982;&#x679C;&#x4E0D;&#x662F;&#x7ECF;&#x5E38;&#x96C6;&#x6210;&#xFF0C;&#x4E3B;&#x5E72;&#x53C8;&#x5728;&#x4E0D;&#x65AD;&#x66F4;&#x65B0;&#xFF0C;&#x4F1A;&#x5BFC;&#x81F4;&#x4EE5;&#x540E;&#x96C6;&#x6210;&#x7684;&#x96BE;&#x5EA6;&#x53D8;&#x5927;&#xFF0C;&#x751A;&#x81F3;&#x96BE;&#x4EE5;&#x96C6;&#x6210;&#x3002;

&#x6301;&#x7EED;&#x4EA4;&#x4ED8;&#xFF08;Continuous delivery&#xFF09;
&#x53EF;&#x4EE5;&#x770B;&#x4F5C;&#x6301;&#x7EED;&#x96C6;&#x6210;&#x7684;&#x4E0B;&#x4E00;&#x6B65;&#x3002; &#x4E0D;&#x7BA1;&#x600E;&#x4E48;&#x66F4;&#x65B0;&#xFF0C;&#x8F6F;&#x4EF6;&#x662F;&#x968F;&#x65F6;&#x968F;&#x5730;&#x53EF;&#x4EE5;&#x4EA4;&#x4ED8;&#x7684;&#x3002;
&#x6301;&#x7EED;&#x90E8;&#x7F72;&#x7684;&#x76EE;&#x6807;&#x662F;&#xFF0C;&#x4EE3;&#x7801;&#x5728;&#x4EFB;&#x4F55;&#x65F6;&#x523B;&#x90FD;&#x662F;&#x53EF;&#x90E8;&#x7F72;&#x7684;&#xFF0C;&#x53EF;&#x4EE5;&#x8FDB;&#x5165;&#x751F;&#x4EA7;&#x9636;&#x6BB5;&#x3002;
</code></pre>
<footer class="page-footer"><span class="copyright">&#x65E0;&#x7248;&#x6743; &#x53EF;&#x4EE5;&#x65E0;&#x9650;&#x5236;&#x4F7F;&#x7528;&#xFF01; all right reserved&#xFF0C;powered by Gitbook</span><span class="footer-modification">&#x8BE5;&#x6587;&#x4EF6;&#x66F4;&#x65B0;&#x65F6;&#x95F4;&#xFF1A;
2019-01-18 10:26:07
</span></footer>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="swagger.html" class="navigation navigation-prev navigation-unique" aria-label="Previous page: swagger">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"jenkins","level":"1.3.11","depth":2,"previous":{"title":"swagger","level":"1.3.10","depth":2,"path":"chinese/swagger.md","ref":"chinese/swagger.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-search","search-plus","todo","anchor-navigation-ex","copy-code-button","fontsettings","tbfed-pagefooter","donate","local-video","splitter","favicon","theme-comscore","local-video"],"styles":{"website":"styles/website.css"},"pluginsConfig":{"tbfed-pagefooter":{"copyright":"无版权 可以无限制使用！","modify_label":"该文件更新时间：","modify_format":"YYYY-MM-DD HH:mm:ss"},"todo":{},"splitter":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"donate":{"alipay":"http://oyru0ayig.bkt.clouddn.com/201803011956_osChina_支付宝收款码.png","alipayText":"支付宝打赏","button":"打赏","title":"","wechat":"http://oyru0ayig.bkt.clouddn.com/201803011956_osChina_微信收款码.png","wechatText":"微信打赏"},"fontsettings":{"family":"sans","size":2,"theme":"sepia"},"highlight":{},"anchor-navigation-ex":{"associatedWithSummary":true,"float":{"floatIcon":"fa fa-navicon","level1Icon":"","level2Icon":"","level3Icon":"","showLevelIcon":false},"mode":"float","multipleH1":true,"pageTop":{"level1Icon":"","level2Icon":"","level3Icon":"","showLevelIcon":false},"printLog":false,"showGoTop":true,"showLevel":true},"favicon":{"shortcut":"assets/images/favicon.ico","bookmark":"assets/images/favicon.ico"},"theme-comscore":{},"local-video":{},"copy-code-button":{},"sharing":{"all":["facebook","google","twitter","weibo","instapaper"],"facebook":true,"google":false,"instapaper":false,"twitter":true,"vk":false,"weibo":false},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{}},"theme":"default","author":"Aivin","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Aivin开发笔记","language":"zh-hans","gitbook":"*","description":"Aivin开发笔记"},"file":{"path":"chinese/jenkins.md","mtime":"2019-01-18T02:26:07.028Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-04-12T07:41:34.135Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-search-plus/jquery.mark.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search-plus/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-copy-code-button/toggle.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-donate/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-local-video/video.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-theme-comscore/test.js"></script>
        
    

    </body>
</html>

